package com.sdd.dd.consumer;

import com.alibaba.dubbo.config.annotation.Reference;
import com.sdd.dd.UserService;

/**
 * ClassName: UserServiceConsumer
 * Description:
 * date: 2020/6/30
 *
 * @author xugaojun
 */
public class UserServiceConsumer {

    @Reference(url = "dubbo://127.0.0.1:25758")
    private UserService userService;

    public String sayHello(String name) {
        return userService.sayHello();
    }

}
